<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
	
	<script src="../mootools-core-1.3.1-full-compat.js"></script>
	<script src="Model.js"></script>
	<script>
		window.addEvent('domready',function(){
			var Car = new Model('data.php?model=henk&');
			Car.get(10,0,function(result){
				var ul =  $$('body > ul')[0];
				
				result.each(function(row){
					new Element('li',{'text':row.title}).inject(this);
				},ul );
			});

			Car.get(5,5,function(result){
				var ul =  $$('body > ul')[0];

				result.each(function(row){
					new Element('li',{'text':row.title}).inject(this);
				},ul );
			});

			Car.get(5,10,function(result){
				var ul =  $$('body > ul')[0];

				result.each(function(row){
					new Element('li',{'text':row.title}).inject(this);
				},ul );
			});

			Car.get(15,0,function(result){
				var ul =  $$('body > ul')[0];

				result.each(function(row){
					new Element('li',{'text':row.title}).inject(this);
				},ul );
			});
		});
	</script>
</head>
<body>
	<ul>

	</ul>
</body>
</html>